package edu.sctu.zhengsenwen.month201506.day20150618;

/**
 * Created by user15 on 2015/6/18.
 */
public class ObjectDemo {

    public void objectDemo(){

        String string1 = new String("通过new关键字初始化String对象。");

        String string2 = "通过常量初始化String对象";
    }
}
